PEP 342 – Coroutines via Enhanced Generators
This PEP proposes some enhancements to the API and syntax of generators, to make them usable as simple coroutines.
「ジェネレータを単純なコルーチンとして使えるように、ジェネレータのAPIと文法をいくつか改良することを提案」
send, throw, closeを追加して拡張
(積ん読)
IMO:ジェネレータベースのコルーチンはPython 3.10で削除された認識